package com.speciality.demo.demos.dto;


import lombok.Data;

import java.util.List;

@Data
public class TravelAdviceDTO {
    private String message;
    private String status;
    private String time;
    private CityInfo cityinfo;
    private Data data;

    @lombok.Data
    public static class CityInfo {
        private String city;
        private String citykey;
        private String parent;
        private String updatetime;
    }

    @lombok.Data
    public static class Data {
        private String shidu;
        private Integer pm25;
        private Integer pm10;
        private String quality;
        private String wendu;
        private String ganmao;
        private List<Forecast> forecast;
    }

    @lombok.Data
    public static class Forecast {
        private String date;
        private String high;
        private String low;
        private String ymd;
        private String week;
        private String sunrise;
        private String sunset;
        private Integer aqi;
        private String fx;
        private String fl;
        private String type;
        private String notice;
        // 新增字段用于存储严肃版建议
        private String formalAdvice;
    }
}
